WP_Defender\Component\User_Agent S

Total Complexity 32
Dependencies 3
Dependents 6
Total lines 237
Lines of code 115
Logical lines of code 71
Comment lines 83
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
verify_import_file()
S
53 5 22
is_bad_user_agent()
S
61 5 13
get_status_text()
S
59 4 15
log_event()
S
55 3 21
is_bad_post()
S
69 4 6
is_active_component()
S
79 2 3
get_message()
S
73 2 5
sanitize_user_agent()
S
65 2 9
__construct()
S
74 1 4
extra_cleaning()
S
66 1 8
add_hooks()
S
98 1 1
block_user_agent_or_ip()
S
72 1 5
fast_cleaning()
S
79 1 3